package com.kawaiior.asoulworld.property.Properties;

import net.minecraftforge.event.entity.living.LivingHurtEvent;

public class PropertyStorm extends PropertyBase implements Iproperty {

    private float [] levelOfValue = new float[]{0.1f,0.2f,0.3f};

    public PropertyStorm(int level) {
        super(level);
    }

    @Override
    public void doProperty(LivingHurtEvent event) {
        event.setAmount(event.getAmount()*(1+levelOfValue[this.getLevel()]));
    }

    @Override
    public String getPropertyString() {
        return "property_storm";
    }

}
